﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Interface_app1
{
    class bird : animal , flying
    {
        public void flying()
        {
            Console.WriteLine("i am flying");
        }

        public override void run()
        {
            Console.Write("i am a bird ");
            flying();
        }
    }
}
